package com.pactera.miyuangroup.db.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.pactera.miyuangroup.db.enums.AuditStatus;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 设备信息修改审核
 * </p>
 *
 * @author WangWu
 * @since 2018-04-13
 */
@TableName("t_equipment_audit")
public class EquipmentAudit extends Model<EquipmentAudit> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private String id;
    /**
     * 信息修改提交单号
     */
    private String numbers;
    /**
     * 操作人员ID
     */
    private String userId;
    /**
     * 修改前售货机编号
     */
    private String beforeVendorNumber;
    /**
     * 修改后售货机编号
     */
    private String afterVendorNumber;
    /**
     * 备注
     */
    private String remarks;
    /**
     * 审核状态
     */
    private AuditStatus auditStatus;

    /**
     * 提交时间
     */
    private Date addTime;

    private String vendorId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNumbers() {
        return numbers;
    }

    public void setNumbers(String numbers) {
        this.numbers = numbers;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getBeforeVendorNumber() {
        return beforeVendorNumber;
    }

    public void setBeforeVendorNumber(String beforeVendorNumber) {
        this.beforeVendorNumber = beforeVendorNumber;
    }

    public String getAfterVendorNumber() {
        return afterVendorNumber;
    }

    public void setAfterVendorNumber(String afterVendorNumber) {
        this.afterVendorNumber = afterVendorNumber;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public AuditStatus getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(AuditStatus auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getVendorId() {
        return vendorId;
    }

    public void setVendorId(String vendorId) {
        this.vendorId = vendorId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "EquipmentAudit{" +
                "id=" + id +
                ", numbers=" + numbers +
                ", userId=" + userId +
                ", beforeVendorNumber=" + beforeVendorNumber +
                ", afterVendorNumber=" + afterVendorNumber +
                ", remarks=" + remarks +
                ", auditStatus=" + auditStatus +
                ", vendorId=" + auditStatus +
                ", addTime=" + addTime +
                "}";
    }
}
